package com.roc.jpamysql;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Configuration;

@SpringBootApplication
@SpringBootConfiguration
@Configuration
@EnableCaching
@MapperScan({"com.roc.jpamysql.dao"})
public class App {

    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
